﻿@model RIS.TMP.WEB.APP.Models.CFBranch

@{
    ViewBag.Title = "Edit";
}
@section Settings{
<h2 class="sub-header">แก้ไขข้อมูลสาขา</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.RecordStatus)
    @Html.HiddenFor(model => model.CreateWhen)
    @Html.HiddenFor(model => model.CreateBy)
    @Html.HiddenFor(model => model.UpdateWhen)
    @Html.HiddenFor(model => model.UpdateBy)
    @Html.HiddenFor(model => model.BrId)
    <h2 class="sub-header"> แก้ไขข้อมูลสาขา</h2>
     <div class="row placeholders">
                <form class="form-horizontal well">
                    <fieldset>
                        <hr />
                            <div class="control-group">
                                <label class="control-label" for="select01">ชื่อสาขา</label>
                                <div class="controls">
                                    @Html.EditorFor(model => model.BrName)
                                    @Html.ValidationMessageFor(model => model.BrName)
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="select01">รายละเอียด</label>
                                <div class="controls">
                                    @Html.EditorFor(model => model.Remarks)
                                    @Html.ValidationMessageFor(model => model.Remarks)
                                </div>
                            </div>
                        <hr />
                            <div class="form-actions">
                                <input type="submit" class="btn btn-primary" value="บันทึก" />
                                @Html.ActionLink("กลับไปยังรายการ", "Index", new object { }, new { @class = "btn btn-primary" })
                            </div>
                    </fieldset>
             </form>
     </div>
    
}
    }
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script type="text/javascript">
        $(".AF").show();
    </script>

}
